package cn.charmaine.pet.service;

import cn.charmaine.basic.util.PageList;
import cn.charmaine.org.domain.Department;
import cn.charmaine.pet.domain.Pet;
import cn.charmaine.basic.base.service.IBaseService;
import cn.charmaine.pet.domain.PetType;
import cn.charmaine.pet.query.PetQuery;

import javax.servlet.http.HttpServletRequest;
import javax.xml.crypto.Data;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xmy
 * @since 2022-07-18
 */
public interface IPetService extends IBaseService<Pet> {

    void add(Pet pet);

    @Override
    void batchDelete(List<Long> ids);

    void auditOnsale(List<Long> ids,HttpServletRequest request);

    void auditOffsale(List<Long> ids, Date date);

    PageList<Pet> queryShopIndex(PetQuery query);
}
